package com.thd.springboot.framework.example.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * com.thd.springboot.framework.example.service.FeignService
 *
 * @author: wanglei62
 * @DATE: 2022/9/8 17:29
 **/
@FeignClient(value="FeignService",url="http://www.baidu.com")
public interface FeignService {

    @GetMapping(value = "/")
    public String test();

}
